<div class="grid_12">
	<div class="box">
		<span>totalSize:<?=$data['totalSize']?></span>
		<table class="list">
			<tr>
				<th>库名</th>
				<th>尺寸</th>
				
				<th>操作</th>
			</tr>
		
		<?php
		if(!empty($data['databases'])){
		foreach($data['databases'] as $key=>$val){
			if(in_array($val['name'],array('admin','local'))){
				continue;
			}
		?>
		<tr>
			<td><?=$val['name']?></td>
			<td><?=$val['sizeOnDisk']?></td>
			
			<td>
				<a href="<?=n_url('collections')?>&db=<?=$val['name']?>">查看</a> |
				<a href="<?=n_url('getGridFS')?>&db=<?=$val['name']?>">FS</a>
			</td>
		</tr>
		
		<?php
		}
		}
		?>
		
		
		</table>
	</div>
</div>		
